﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace CustomsDocumentOA.Project.CusDocument.Dto
{
    [AutoMapTo(typeof(CDOA_Customer))]
    public class UpdateCustomerDto: EntityDto<long>
    {
        /// <summary>
        /// 企业名称
        /// </summary>
        [MaxLength(100)]
        [Required]
        public string cCustomerName { get; set; }
        /// <summary>
        /// 企业地址
        /// </summary>
        [MaxLength(200)]
        [Required]
        public string cAddress { get; set; }
        /// <summary>
        /// 企业法人
        /// </summary>
        [MaxLength(20)]
        public string cBoss { get; set; }
        /// <summary>
        /// 企业代码
        /// </summary>
        [MaxLength(36)]
        public string cCode { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? cEstablishTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(1000)]
        public string cDescribe { get; set; }

    }
}
